# CLRBHB is optional for all v8a/v9a, mandatory for 8.9a/9.4a.
# Should disassemble to hint #22 if the feature is not present.
# RUN: llvm-mc %s -disassemble -triple=armv8 2>&1 | FileCheck %s --check-prefix=HINT_22
# RUN: llvm-mc %s -disassemble -triple=armv8 -mattr=+clrbhb | FileCheck %s --check-prefix=CLRBHB
# RUN: llvm-mc %s -disassemble -triple=armv8.9a | FileCheck %s --check-prefix=CLRBHB
# RUN: llvm-mc %s -disassemble -triple=armv8.9a -mattr=-clrbhb | FileCheck %s --check-prefix=HINT_22

[0x16,0xf0,0x20,0xe3]
# CLRBHB: clrbhb
# HINT_22: hint #22
